#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable:6031)
#include<iostream>
using namespace std;
int main()
{
	int array[] = { 1,2,3,4,5,6 };
	for (auto& i : array)
	{
		i++;
	}
	for (auto i : array)
	{
		cout << i << "  ";
	}
	return 0;
}